import logging

logging.basicConfig(
					format='[%(asctime)s][%(levelname)s]<%(name)s> %(message)s',
        			datefmt='%I:%M:%S')
logger = logging.getLogger("name")
logger.setLevel(logging.DEBUG)
logger.debug('debug 信息')
